import Vue from "vue";
import Router from "vue-router";


Vue.use(Router);

const router = new Router({
    mode: "history",
    routes: [
        {
            path: "/admin/login",
            component: () => import("../page/Login")
        },
        {
            path: "/admin",
            component: () => import("../page/Index")
        }
    ]
});


export default router;
